<?php

namespace App\Providers;

use App\Events\GoldChargePaidEvent;
use App\Events\GoldRecordPaidEvent;
use App\Events\NewUserRegisteredEvent;
use App\Events\OrderCreatedEvent;
use App\Events\OrderDeliveredEvent;
use App\Events\OrderPaidEvent;
use App\Events\OrderReceivedEvent;
use App\Events\OrderRefundedEvent;
use App\Events\UserEnteredEvent;
use App\Events\VipPurchasePaidEvent;
use App\Listeners\CacheForgottenListener;
use App\Listeners\CacheHitListener;
use App\Listeners\CacheMissedListener;
use App\Listeners\CacheWrittenListener;
use App\Listeners\GoldChargePaidListener;
use App\Listeners\GoldRecordPaidListener;
use App\Listeners\NewUserRegisteredListener;
use App\Listeners\OrderCreatedListener;
use App\Listeners\OrderDeliveredListener;
use App\Listeners\OrderPaidListener;
use App\Listeners\OrderReceivedListener;
use App\Listeners\OrderRefundConfirmedListener;
use App\Listeners\OrderRefundedListener;
use App\Listeners\UserEnteredListener;
use App\Listeners\VipPurchasePaidListener;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;

class EventServiceProvider extends ServiceProvider
{
    protected $listen = [
    	UserEnteredEvent::class             => [UserEnteredListener::class],
	    NewUserRegisteredEvent::class       => [NewUserRegisteredListener::class],
	    OrderCreatedEvent::class            => [OrderCreatedListener::class],
	    OrderPaidEvent::class               => [OrderPaidListener::class],
	    OrderDeliveredEvent::class          => [OrderDeliveredListener::class],
	    OrderReceivedEvent::class           => [OrderReceivedListener::class],
	    OrderRefundedEvent::class           => [OrderRefundedListener::class],
	    GoldChargePaidEvent::class          => [GoldChargePaidListener::class],
	    GoldRecordPaidEvent::class          => [GoldRecordPaidListener::class],
	    VipPurchasePaidEvent::class          => [VipPurchasePaidListener::class],
    ];
}
